import Cookies from 'js-cookie'

const tokenKey = 'Admin-Token'

// set_token
export function setToken(token) {
  return Cookies.set(tokenKey, token)
}

// getToken
export function getToken() {
  return Cookies.get(tokenKey)
}

// removeToken
export function removeToken() {
  return Cookies.remove(tokenKey)
}
